package com.yuyou.fn.report.service;

import com.github.wens.framework.service.ISuperService;
import com.github.wens.mybatisplus.plugins.Page;
import com.yuyou.fn.common.util.Principals;
import com.yuyou.fn.platform.permission.DataPermission;
import com.yuyou.fn.report.entity.Charge;
import com.yuyou.fn.report.vo.ChargeQueryVo;

import java.util.List;

/**
 *
 * Charge 表数据服务层接口
 *
 */
public interface IChargeService extends ISuperService<Charge,String> {


    Page<Charge> findByQuery(ChargeQueryVo chargeQueryVo, DataPermission dataPermission, int pageNo, int pageSize);

    List<Charge> findListByQuery(ChargeQueryVo chargeQueryVo, DataPermission dataPermission);

    void changeDailyStatus(List<String> chargeIds , Integer dailyStatus , Principals.Principal principal) ;

    void cancelDailyStatus(List<String> chargeIds , Integer dailyStatus , Principals.Principal principal) ;
}